package com.fs.base.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;


/**
 * @author TiddlerCJ
 * @desc 实体对象
 */

@Data
@AllArgsConstructor
public class ModleField{
	//字段名
	private String field;
	//显示名
	private String title;
	//列表显示
	private String inlist = "Y";
	//列表宽度
	private Integer width = 120 ;
	//搜索显示
	private String insearch = "N";
	
	private String searchType = "like";
	//表单显示
	private String inform = "Y";
	//控件类型  text,textarea,checkbox,numberbox,validatebox,datebox,combobox,combotree 
	private String type = "text" ;
	//控件宽度
	private Integer fieldwidth = 240 ;
	//间隔宽度
	private Integer space = 100 ;
	//是否新行
	private String newline = "Y";
	//是否必填
	private String required = "N";
	//数据属性
	private String dataoptions = "";
	//可编辑
	private String editable = "Y";
	
	public ModleField(String field, String title) {
		this.field = field;
		this.title = title;
	}
	
}
